package server.business.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName blood_sample_patient
 * @author Galaxy
 */
@TableName(value ="blood_sample_patient")
@Data
public class BloodSamplePatient implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    /**
     * patient表中的id
     */
    @TableField(value = "patient_id")
    private Long patientId;

    /**
     * 血样编号
     */
    @TableField(value = "blood_sample_number")
    private String bloodSampleNumber;

    /**
     * 抽取人
     */
    @TableField(value = "draw_people")
    private String drawPeople;

    /**
     * 抽取时间
     */
    @TableField(value = "draw_time")
    private Date drawTime;

    /**
     * 抽取人工号
     */
    @TableField(value = "draw_people_number")
    private String drawPeopleNumber;

    /**
     * 逻辑删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * 是否失效（1表示失效，0表示未失效）
     */
    @TableField(value = "is_invalid")
    private Integer isInvalid;

    /**
     * 用途(验血或配血)
     */
    @TableField(value = "purpose")
    private Integer purpose;

    @TableField(exist = false)
    private static final long serialVersionUID = -2260236606730276435L;
}